package com.lbh.platforms.windows.structures.gdi;

import com.sun.jna.Pointer;
import com.sun.jna.Structure;

import java.util.Arrays;
import java.util.List;

/***
 * project:JRuntime
 * package:com.lbh.platforms.windows.structures.gdi
 *
 * @author user:lenovo QQ:1601078366
 * @date 2021/10/18 23:02
 * @version V1.0
 */
@SuppressWarnings("ALL")
public class RECT extends Structure {

    public static class ByReference extends RECT implements Structure.ByReference { }
    public static class ByValue extends RECT implements Structure.ByValue { }

    public int left;
    public int top;
    public int right;
    public int bottom;

    @Override
    protected List<String> getFieldOrder() {
        return Arrays.asList("left", "top", "right", "bottom");
    }
}
